package cn.tedu.epidemic.webapi.mapper;

import cn.tedu.community.commons.pojo.health.entity.Health;
import cn.tedu.community.commons.pojo.health.vo.HealthVO;
import cn.tedu.community.commons.pojo.returnHome.vo.ReturnHomeVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;

@Repository
public interface HealthMapper {
    int insert(Health health);

    int countUserIdLatest(Long userId);

    int deleteById(Long id);

    int updateById(Health health);

    HealthVO healthStandard(Long id);

    List<HealthVO> healthListByUserId(Long userId);

    List<HealthVO> ListAudited();

    List<HealthVO> ListUnaudited();
}
